package top.yueyazhui.mysql_audit_log.mapper;

import org.apache.ibatis.annotations.Param;
import top.yueyazhui.mysql_audit_log.entity.AuditLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 审计日志 Mapper 接口
 * </p>
 *
 * @author yueyazhui
 * @since 2022-09-25
 */
public interface AuditLogMapper extends BaseMapper<AuditLog> {

    void batchInsert(@Param("list") List<AuditLog> auditLogCacheList);

    void refresh();
}
